from django.conf.urls import url
from . import views
from . import api

urlpatterns = [
    url(r'^oil_attr$', views.OilAttr.as_view(), name='OilAttr'),  # 石油属性
    # url(r'^orders$', views.Orders.as_view(), name='Orders'),  # 订单列表
    url(r'^gas_detail/(\w+)$', views.GasDetail.as_view(), name='GasDetail'),  # 获取支付链接
    url(r'^pay_success/(\w+)$', views.pay_success, name='pay_success'),  # 模拟支付成功
    # url(r'^refundCallBack$', views.RefundCallBack.as_view(), name='refund_call_back'),  # 退款回调
    url(r'^refundCallBack$', views.refund_callback, name='refund_callback'),  # 退款回调
    url(r'^refundFail$', views.refund_fail, name='refund_fail'),  # 退款失败通知
    url(r'^callback_test$', api.CallBackTest.as_view(), name='callback_test'),  # 模拟其他渠道方接收回调

]
